<extend name="Public/base"/>
<block name="body">
    <div class="main-title">
        <h2>任务类型详情</h2>
    </div>
    <div  class="form-horizontal">
        <div class="form-item">
            <label class="item-label">类型代码：<span class="check-tips">{$detail.code|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">类型名称：<span class="check-tips">{$detail.name|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">创建时间：<span class="check-tips">{:date('Y-m-d H:i:s', $detail['create_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">更新时间：<span class="check-tips">{:date('Y-m-d H:i:s', $detail['update_time'])}</span></label>
        </div>
        <div class="form-item">
            <div class="item-label">类型状态：<span class="check-tips">{$detail.status_text}</span></div>
        </div>
        <div class="form-item">
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </div>
</block>

<block name="script">
	<style type="text/css">
		.controls{
			margin-left:20px;
		}
	</style>
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Task/taskTypeList')}');
    </script>
</block>
